LIBRARY RTGMasterBase
	OpenRtgScreen(a0,a1)(d0)=-30,
	CloseRtgScreen(a0)(d0)=-36,
	SwitchScreens(a0,d0)(d0)=-42,
	LoadRGBRtg(a0,a1)(d0)=-48,
	LockRtgScreen(a0)(d0)=-54,
	UnlockRtgScreen(a0)(d0)=-60,
	GetBufAdr(a0,d0)(d0)=-66,
	GetRtgScreenData(a0,a1:PTR TO TagItem)(d0)=-72,
	RtgAllocSRList(a0)(d0)=-78,
	FreeRtgSRList(a0)(d0)=-84,
	RtgScreenAtFront(a0)(d0)=-90,
	RtgScreenModeReq(a0)(d0)=-96,
	FreeRtgScreenModeReq(a0)(d0)=-102,
	WriteRtgPixel(a0,a1,d0,d1,d2)(d0)=-108,
	WriteRtgPixelRGB(a0,a1,d0,d1,d2)(d0)=-114,
	FillRtgRect(a0,a1,d0,d1,d2,d3,d4)(d0)=-120,
	FillRtgRectRGB(a0,a1,d0,d1,d2,d3,d4)(d0)=-126,
	WriteRtgPixelArray(a0,a1,a2,d0,d1,d2,d3)(d0)=-132,
	WriteRtgPixelRGBArray(a0,a1,a2,d0,d1,d2,d3)(d0)=-138,
	CopyRtgPixelArray(a0,a1,a2,d0,d1,d2,d3,d4,d5)(d0)=-144,
	CopyRtgBlit(a0,a1,a2,a3,d0,d1,d2,d3,d4,d5,d6,d7)(d0)=-150,
	DrawRtgLine(a0,a1,d0,d1,d2,d3,d4)(d0)=-156,
	DrawRtgLineRGB(a0,a1,d0,d1,d2,d3,d4)(d0)=-162,
	WaitRtgSwitch(a0)(d0)=-168,
	WaitRtgBlit(a0)(d0)=-174,
	RtgWaitTOF(a0)(d0)=-180,
	RtgBlit(a0,a1,a2,d0,d1,d2,d3,d4,d5,d6)(d0)=-186,
	RtgBltClear(a0,a1,d0,d1,d2,d3)(d0)=-192,
	CallRtgC2P(a0,a1,a2,d0,d1,d2,d3,d4,d5)(d0)=-198,
	RtgBestSR(a0)(d0)=-204,
	RtgCheckVSync(a0)(d0)=-210,
	InitRtgBobSystem(a0,d0)(d0)=-216,
	CheckPPCCommand(a0,d0)(d0)=-222,
	CloseRtgBobSystem(a0)(d0)=-228,
	RtgBobRefreshBuffer(a0,a1,a2,d0)(d0)=-234,
	RtgBobDrawSprite(a0,a1,a2,d0,d1,d2,d3)(d0)=-240,
	Private4()(d0)=-246,
	Private5()(d0)=-252,
	Private6()(d0)=-258,
	Private7()(d0)=-264,
	RtgText(a0,a1,a2,d0,d1,d2)(d0)=-270,
	RtgSetFont(a0,a1)(d0)=-276,
	RtgClearPointer(a0)(d0)=-282,
	RtgSetPointer(a0,a1,d0,d1,d2,d3)(d0)=-288,
	RtgSetTextMode(a0,d0,d1,d2)(d0)=-294,
	RtgOpenFont(a0,a1)(d0)=-300,
	RtgCloseFont(a0,a1)(d0)=-306,
	RtgSetTextModeRGB(a0,d0,d1,d2)(d0)=-312,
	RtgInitRDCMP(a0)(d0)=-318,
	RtgWaitRDCMP(a0)(d0)=-324,
	RtgGetMsg(a0)(d0)=-330,
	RtgReplyMsg(a0,a1)(d0)=-336,
PPC,
	PPCOpenRtgScreen(r4,r5)(r3)=-342,
	PPCCloseRtgScreen(r4)(r3)=-348,
	PPCSwitchScreens(r4,r5)(r3)=-354,
	PPCLoadRGBRtg(r4,r5)(r3)=-360,
	PPCLockRtgScreen(r4)(r3)=-366,
	PPCUnlockRtgScreen(r4)(r3)=-372,
	PPCGetBufAdr(r4,r5)(r3)=-378,
	PPCGetRtgScreenData(r4,r5:PTR TO TagItem)(r3)=-384,
	PPCRtgAllocSRList(r4)(r3)=-390,
	PPCFreeRtgSRList(r4)(r3)=-396,
	PPCRtgScreenAtFront(r4)(r3)=-402,
	PPCRtgScreenModeReq(r4)(r3)=-408,
	PPCFreeRtgScreenModeReq(r4)(r3)=-414,
	PPCWriteRtgPixel(r4,r5,r6,r7,r8)(r3)=-420,
	PPCWriteRtgPixelRGB(r4,r5,r6,r7,r8)(r3)=-426,
	PPCFillRtgRect(r4,r5,r6,r7,r8,r9,a)(r3)=-432,
	PPCFillRtgRectRGB(r4,r5,r6,r7,r8,r9,a)(r3)=-438,
	PPCWriteRtgPixelArray(r4,r5,r6,r7,r8,r9,a)(r3)=-444,
	PPCWriteRtgPixelRGBArray(r4,r5,r6,r7,r8,r9,a)(r3)=-450,
	PPCCopyRtgPixelArray(r4,r5,r6,r7,r8,r9,a,b,c)(r3)=-456,
	PPCCopyRtgBlit(r4,r5,r6,r7,r8,r9,r10,a,b,c,d,e)(r3)=-462,
	PPCDrawRtgLine(r4,r5,r6,r7,r8,r9,a)(r3)=-468,
	PPCDrawRtgLineRGB(r4,r5,r6,r7,r8,r9,a)(r3)=-474,
	PPCWaitRtgSwitch(r4)(r3)=-480,
	PPCWaitRtgBlit(r4)(r3)=-486,
	PPCRtgWaitTOF(r4)(r3)=-492,
	PPCRtgBlit(r4,r5,r6,r7,r8,r9,a,b,c,d)(r3)=-498,
	PPCRtgBltClear(r4,r5,r6,r7,r8,r9)(r3)=-504,
	PPCCallRtgC2P(r4,r5,r6,r7,r8,r9,a,b,c)(r3)=-510,
	PPCRtgBestSR(r4)(r3)=-516,
	PPCRtgCheckVSync(r4)(r3)=-522,
	PPCInitRtgBobSystem(r4,r5)(r3)=-528,
	PPCCheckPPCCommand(r4,r5)(r3)=-534,
	PPCCloseRtgBobSystem(r4)(r3)=-540,
	PPCRtgBobRefreshBuffer(r4,r5,r6,r7)(r3)=-546,
	PPCRtgBobDrawSprite(r4,r5,r6,r7,r8,r9,a)(r3)=-552,
	Private4(r4)(r3)=-558,
	Private5(r4)(r3)=-564,
	Private6(r4)(r3)=-570,
	Private7(r4)(r3)=-576,
	PPCRtgText(r4,r5,r6,r7,r8,r9)(r3)=-582,
	PPCRtgSetFont(r4,r5)(r3)=-588,
	PPCRtgClearPointer(r4)(r3)=-594,
	PPCRtgSetPointer(r4,r5,r6,r7,r8,r9)(r3)=-600,
	PPCRtgSetTextMode(r4,r5,r6,r7)(r3)=-606,
	PPCRtgOpenFont(r4,r5)(r3)=-612,
	PPCRtgCloseFont(r4,r5)(r3)=-618,
	PPCRtgSetTextModeRGB(r4,r5,r6,r7)(r3)=-624,
	PPCRtgInitRDCMP(r4)(r3)=-630,
	PPCRtgWaitRDCMP(r4)(r3)=-636,
	PPCRtgGetMsg(r4)(r3)=-642,
	PPCRtgReplyMsg(r4,r5)(r3)=-648,
M68K,
	RtgScreenToFront(a0)(d0)=-654,
PPC,
	PPCRtgScreenToFront(r4)(r3)=-660,
M68K,
	RtgConvert(a0,a1,d0,d1,d2,d3)(d0)=-666,
PPC,
	PPCRtgConvert(r4,r5,r6,r7,r8,r9)(r3)=-672
